var bgPage = chrome.extension.getBackgroundPage();

var localVoc = [];

function getRandomTerm() {
  return Voc.getRandomTerm();
}

function getRandomDescription(currentTerm) {
	var userCorrectDescription = Math.floor(Math.random()*2);
	
	if (userCorrectDescription) {
		return currentTerm.getRandomDescription();
	}  else {
		return getRandomTerm().getRandomDescription();
	}
}
